package com.ht.service.emp.impl;

import com.ht.bean.file.Annex;
import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.bean.emp.Job;
import com.ht.dao.emp.JobMapper;
import com.ht.service.emp.JobService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/22 14:25
 * 
 */
@Service
public class JobServiceImpl implements JobService{

    @Resource
    private JobMapper jobMapper;

    @Override
    public int deleteByPrimaryKey(Integer jobid) {
        return jobMapper.deleteByPrimaryKey(jobid);
    }

    @Override
    public int insert(Job record) {
        return jobMapper.insert(record);
    }

    @Override
    public int insertSelective(Job record) {
        return jobMapper.insertSelective(record);
    }

    @Override
    public Job selectByPrimaryKey(Integer jobid) {
        return jobMapper.selectByPrimaryKey(jobid);
    }

    @Override
    public int updateByPrimaryKeySelective(Job record) {
        return jobMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Job record) {
        return jobMapper.updateByPrimaryKey(record);
    }

    @Override
    public int selCount(Integer seid) {
        return jobMapper.selCount(seid);
    }

    @Override
    public List<Job> sellist(Pager pager, Integer seid) {
        return jobMapper.sellist(pager,seid);
    }

}
